package vip.zhenzicheng.jpa.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 学生传输模型，用于模糊查询
 * 应该使用
 *
 * @author zhenzicheng
 * @date 2023-04-17 16:16
 */
@ApiModel(value = "学生信息查询")
@Data
@EqualsAndHashCode(callSuper = true)
public class StudentDTO extends PageParam {
    @ApiModelProperty(value = "用户名-模糊查询", example = "Doug Lea")
    private String username;

    @ApiModelProperty(value = "昵称-模糊查询", example = "续敏感")
    private String nickName;

    @ApiModelProperty(value = "年龄范围-范围查询", example = "16,35")
    private String ageRange;

    @ApiModelProperty(value = "性别-精确查询", example = "0:女,1:男", allowableValues = "0,1")
    private Integer sex;

}
